package com.spic.business.riskbase.hierarchy.service;

import java.util.List;
import com.spic.business.riskbase.hierarchy.domain.RiskDetailsInfo;

/**
 * riskDetailsInfoService接口
 * 
 * @author ruoyi
 * @date 2023-04-14
 */
public interface IRiskDetailsInfoService 
{
    /**
     * 查询riskDetailsInfo
     * 
     * @param id riskDetailsInfo主键
     * @return riskDetailsInfo
     */
    public RiskDetailsInfo selectRiskDetailsInfoById(Long id);

    /**
     * 查询riskDetailsInfo列表
     * 
     * @param riskDetailsInfo riskDetailsInfo
     * @return riskDetailsInfo集合
     */
    public List<RiskDetailsInfo> selectRiskDetailsInfoList(RiskDetailsInfo riskDetailsInfo);

    /**
     * 新增riskDetailsInfo
     * 
     * @param riskDetailsInfo riskDetailsInfo
     * @return 结果
     */
    public int insertRiskDetailsInfo(RiskDetailsInfo riskDetailsInfo);

    /**
     * 修改riskDetailsInfo
     * 
     * @param riskDetailsInfo riskDetailsInfo
     * @return 结果
     */
    public int updateRiskDetailsInfo(RiskDetailsInfo riskDetailsInfo);

    /**
     * 批量删除riskDetailsInfo
     * 
     * @param ids 需要删除的riskDetailsInfo主键集合
     * @return 结果
     */
    public int deleteRiskDetailsInfoByIds(Long[] ids);

    /**
     * 删除riskDetailsInfo信息
     * 
     * @param id riskDetailsInfo主键
     * @return 结果
     */
    public int deleteRiskDetailsInfoById(Long id);

    int deleteRiskDetailsByRiskAnalyse(Long id);

    int batchRiskDetailsInfo(List<RiskDetailsInfo> list);
}
